
namespace Himall.Entity
{
    using System;
    using System.Collections.Generic;
    /// <summary>
    /// 礼品订单主表
    /// </summary>
    public partial class GiftOrderInfo:BaseModel
    {     
        long _id;
        public new long Id { get{ return _id; } set{ _id=value; base.Id = value; } }
        /// <summary>
        /// 订单状态
        /// </summary>
        public GiftOrderStatus OrderStatus { get; set; }
        /// <summary>
        /// 用户编号
        /// </summary>
        public long UserId { get; set; }
        /// <summary>
        /// 会员留言
        /// </summary>
        public string UserRemark { get; set; }
        /// <summary>
        /// 收货人
        /// </summary>
        public string ShipTo { get; set; }
        /// <summary>
        /// 收货人电话
        /// </summary>
        public string CellPhone { get; set; }
        /// <summary>
        /// 一级地区
        /// </summary>
        public Nullable<int> TopRegionId { get; set; }
        /// <summary>
        /// 地区编号
        /// </summary>
        public Nullable<int> RegionId { get; set; }
        /// <summary>
        /// 地区全称
        /// </summary>
        public string RegionFullName { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 快递公司
        /// </summary>
        public string ExpressCompanyName { get; set; }
        /// <summary>
        /// 快递单号
        /// </summary>
        public string ShipOrderNumber { get; set; }
        /// <summary>
        /// 发货时间
        /// </summary>
        public Nullable<System.DateTime> ShippingDate { get; set; }
        /// <summary>
        /// 下单时间
        /// </summary>
        public System.DateTime OrderDate { get; set; }
        /// <summary>
        /// 完成时间
        /// </summary>
        public Nullable<System.DateTime> FinishDate { get; set; }
        /// <summary>
        /// 积分总价
        /// </summary>
        public Nullable<int> TotalIntegral { get; set; }
        /// <summary>
        /// 关闭原因
        /// </summary>
        public string CloseReason { get; set; }
    
        public virtual ICollection<GiftOrderItemInfo> Himall_GiftOrderItem { get; set; } = new HashSet<GiftOrderItemInfo>();
    }
}
